using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class JoyStickMovment : JoyStickBase
{
    public Vector3 ReturnVectorDitection()
    {
        if(InputVector.x !=0 || InputVector.y !=0) return new Vector3(InputVector.x,InputVector.y, 0);
        else return new Vector3(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"), 0 );
    }
    public Vector2 currentVector;
    
    public float GetX()
    {
        return InputVector.x;
    }

}
